package com.lsl.bhllserver.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lsl.bhllserver.entity.userabstract.User;

@TableName("user_admin")
public class Admin extends User implements Serializable{

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String adminName;
    private String adminPassword;

    public Admin() {
    }

    public Admin(Integer id, String adminName, String adminPassword) {
        this.id = id;
        this.adminName = adminName;
        this.adminPassword = adminPassword;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }

    @Override
    public String toString() {
        return "Admin [id=" + id + ", adminName=" + adminName + ", adminPassword=" + adminPassword + "]";
    }

}
